//
//  ADViewController.m
//  RainbowFM
//
//  Created by chenli on 15/1/4.
//  Copyright (c) 2015年 RB. All rights reserved.
//

#import "ADViewController.h"
#import "ADModel.h"

@interface ADViewController ()
@property (weak, nonatomic) IBOutlet UIWebView *webView;

@end

@implementation ADViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [[ADModel sharedModel] adStatisticsWithBackParam:_item.backParam result:^(BOOL success, NSString *msg) {
        
    }];
    [self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:_item.url]]];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
